OrderNotificationForTelegramBot\App S

Total Complexity 23
Dependencies 12
Dependents 0
Total lines 167
Lines of code 106
Logical lines of code 64
Comment lines 0
Methods 17
Properties 1

Methods 17

Method Rating Maintainability Complexity Lines of code
run()
S
59 3 14
loadHooks()
S
66 2 8
woocommerceNewOrderArrived()
S
64 2 10
checkForWooCommerce()
S
67 2 8
woocommerceOrderStatusChanged()
S
65 2 8
init()
S
73 1 5
initTelegramBotHelper()
S
63 1 10
sendTgNotification()
S
70 1 6
loadHooksInAdmin()
S
72 1 5
showWooCommerceError()
S
70 1 6
adminLoadJsScripts()
S
77 1 3
noticeForInstallingWoocommerce()
S
79 1 3
addActionLinks()
S
77 1 3
defineMethods()
S
82 1 3
wooInstalled()
S
81 1 3
wooNotInstalled()
S
81 1 3
addWooCommerceSettingSection()
S
65 1 8